package android.slc.box.core.ui;

import android.slc.box.core.scope.StageScope;
import de.saxsys.mvvmfx.InjectScope;

/**
 * 此处需要拿到窗口关闭事件监听，然后通过RxJava生命周期绑定来解除该节目的操作
 *
 * @author slc
 * @date 2022/03/21 下午 1:42
 */
public class BaseStageViewModel extends BaseViewModel {

    @InjectScope
    private StageScope stageScope;

    public StageScope getStageScope() {
        return stageScope;
    }

    @Override
    protected void onCleared() {
        super.onCleared();
        this.stageScope = null;
    }
}
